package com.mt.roll.wms.params;

import com.mt.roll.core.base.BaseParam;
import com.mt.roll.core.vo.CommonVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Objects;

/**
 * @auther yanyang
 * @date 2021/11/04 16:53
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "缓存区信息", description = "用于新增和更新缓存区信息", parent = CommonVo.class)
public class AreaParam extends BaseParam{

    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", example = "1")
    private Long id;


    /**
     * 编码
     */
    @ApiModelProperty(value = "code",example = "00000001")
    private String code;

    /**
     * 区域名称
     */
    @ApiModelProperty(value = "t_area_name",example = "name")
    private String tAreaName;

    /**
     * 英文名称
     */
    @ApiModelProperty(value = "en_name",example = "area")
    private String enName;

    /**
     * 缩写
     */
    @ApiModelProperty(value = "abbr",example = "n")
    private String abbr;

    /**
     * 规格
     */
    @ApiModelProperty(value = "spec",example = "123")
    private String spec;

    /**
     * 库位数量location
     */
    @ApiModelProperty(value = "location_num",example = "2")
    private Integer locationNum;

    /**
     * 状态		0初始化
     */
    @ApiModelProperty(value = "status",example = "0")
    private Integer status;

    /**
     * 货架数量shelf
     */
    @ApiModelProperty(value = "shelf_num",example = "2")
    private Integer shelfNum;

    /**
     * 备注
     */
    @ApiModelProperty(value = "note",example = "123")
    private String note;

}
